<?php
/**
 * File: cmsarticletags.php.
 * Author: caoqicheng@haibao.com
 * Editor: PhpStorm
 * Date: 17/2/7 上午10:45
 * Brief:
 */
namespace haibao\jiepai\model\data\article;

class CmsArticleTags extends \haibao\jiepai\model\data\Base{
	
	/**
	 * -1是，0否
	 * 是否是删除
	 */
	const FLAG_DEL = -1;
	const FLAG_IS = 0;
	
	public $TagID;

	public $EditorID;
	
	public $ArticleID;
	
	public $Flag;
	
	public $CreateTime;

	
	
	
	public function __construct(){
		parent::__construct();
		
		$this->intField('TagID', 'TagID',true);
		$this->intField('ArticleID', 'ArticleID',true);
		$this->intField('EditorID', 'EditorID',true);
		$this->intField('Flag', 'Flag',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		
		
		$this->setTableName('cms_article_tags');
	}
}